package com.supermap.census.app;

import org.litepal.LitePalApplication;

/**
 * Created by Administrator on 2017/3/23 0023.
 */

public class MyApplication extends LitePalApplication {
    public static MyApplication myApplication;

    @Override
    public void onCreate() {
        super.onCreate();
        myApplication = this;
    }

    public static MyApplication getInstance() {
        if (myApplication == null) {
            myApplication = new MyApplication();
        }
        return myApplication;
    }
}
